import { ApplyTypeEnum } from '@/enums/membershipEnum';
import type { IQuery } from '@/api/indexTypes';
import { PotentialClientsTypeEnum } from '@/enums/commercializeEnum';

export interface MemberLeaderListData extends IQuery {
  /** 搜索参数 */
  keyword?: string;
  /** 组织类别 */
  typeId?: number[];
  /** 行业管理 */
  industryId?: number[];
  /** 会员级别 */
  levelId?: number[];
  /** 区域id */
  areaId?: number[];
}

export interface MemberLeaderListResult {
  memberId: number; //单位id
  leaderId: number; //负责人id
  leaderName: string; //负责人姓名
  avatar: string; //负责人头像
  socialPosition: string; //负责人职务
  levelName: string; //会员职务
  postName: string; //第二职务
  companyName: string; //单位名称
  applyType: ApplyTypeEnum; //申请类型 1:单位  2 个人
}

export interface ILevelDownListRes {
  allottedTime: number;
  id: number;
  membershipFees: number;
  name: string;
  logo: string;
}

export interface ITypeDownListRes {
  id: number;
  name: string;
}

// 成员状态 / 单位资料状态 0:审核中 1:已审核 2已驳回
export type reviewStatus = 0 | 1 | 2;


export interface AppPotentialClientAddData {
  type: PotentialClientsTypeEnum;
  // 关联的数据ID
  dataId?: number | string;
}

export interface MemberCardPriceResult {
  orgName: string;
  logo: string;
  details: string;
  industry: string[];
  contact: number;
  people: number;
}
